<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>{$head[title]}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="{$head[keywords]}" name="keywords" />
<meta content="{$head[description]}" name="description" />
<base href="{SITE_URL}" />
<link href="favicon.ico" rel="shortcut icon" />
<link href="../skin/style.css" rel="stylesheet" type="text/css" />
<link href="{SKIN_PATH}modal.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="{$head[title]}" href="/rss.php?rssid={$catid}" />
<script language="JavaScript" src="misc/config.js"></script>
<script language="JavaScript" src="misc/jquery.min.js"></script>
<script language="JavaScript" src="misc/common.js"></script>
<script language="JavaScript" src="misc/validator.js"></script>

<script type="text/javascript" src="misc/validator.js"></script>
</head>
<body>

{template 'header.html'}

<div class="container">
	
    <div class="main">
    	
        
        <div class="mod">
            <div class="head">{$_nickname}收藏的信息</div>
            <div class="body">
                <table cellpadding="0" cellspacing="1" class="table table-bordered">
                <tr>
                    <th width="61%"><strong>标题</strong></th>
                  <th width="24%"><strong>收藏日期</strong></th>
                  <th width="15%"><strong>删除</strong></th>
                </tr>
                {loop $data['collect'] $c}
                	
                    
                 {php $info = $db->get_one("SELECT * FROM table_".$c[module]." WHERE `$c[field]` = '$c[value]'");}
                 {php //dump($info)}
                <tr>
                    <td><a href="{$info[url]}" target='_blank'>{$info[title]}</td>
                    <td align="center">{date('Y-m-d', $c['addtime'])}</td>
                  <td align="center"><a href='?module=collect&action=delete&id={$c[id]}'>删除</a></td>
                </tr>
                {/loop}
              </table>
              <div class="pagination">{$data['pages']}</div>
            </div>
        </div> 
    </div>
    
    <div class="aside">
    	{template "left.html", "member"}
    </div>
</div>




{template 'footer.html'}